package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_ddkkglfb_2025042310431948")
public class OrderDeductionDetailDO extends BaseDO {

    /**
     * 供应商名称
     */
    @TableField("selectField103")
    private String supplierName;

    /**
     * 供应商编码
     */
    @TableField("comInputField137")
    private String supplierCode;

    /**
     * 订单编号
     */
    @TableField("selectField104")
    private String orderNo;

    /**
     * 订单编号-行号
     */
    @TableField("comInputField118")
    private String orderNoLine;

    /**
     * 物料编码
     */
    @TableField("selectField138")
    private String materialCode;

    /**
     * 物料名称
     */
    @TableField("comInputField135")
    private String materialName;

    /**
     * 物料规格
     */
    @TableField("comInputField136")
    private String materialSpecification;

    /**
     * 品类编码
     */
    @TableField("selectField125")
    private String categoryCode;

    /**
     * 品类名称
     */
    @TableField("comInputField139")
    private String categoryName;

    /**
     * 单位编码
     */
    @TableField("selectField127")
    private String unitCode;

    /**
     * 单位名称
     */
    @TableField("comInputField140")
    private String unitName;

    /**
     * 税率值
     */
    @TableField("selectField129")
    private String taxRateValue;

    /**
     * 扣款含税金额
     */
    @TableField("numInputField131")
    private BigDecimal amountIncludingTax;

    /**
     * 扣款不含税金额
     */
    @TableField("numInputField132")
    private BigDecimal amountExcludingTax;

    /**
     * 扣款税额
     */
    @TableField("numInputField133")
    private BigDecimal deductionTaxAmount;
}